import Vue from 'vue'
import VueRouter from 'vue-router'
import Student from '../views/Student'
import Classes from '../views/Classes'
Vue.use(VueRouter)

const routes = [
  {
    path: '/student/list',
    name: 'student',
    component: Student
  },
  {
    path: '/classes/list',
    name: 'classes',
    component: Classes
  },
]

const router = new VueRouter({
  routes
})

export default router
